# app/routers/health.py
from fastapi import APIRouter
from app.config import settings

router = APIRouter(
    tags=["Health"],
    responses={404: {"description": "Not found"}},
)

@router.get("/health")
async def health_check():
    """
    健康检查端点
    """
    return {
        "status": "ok", 
        "service": settings.APP_NAME,
        "version": "1.0.0"
    }